package com.estate.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Complaint;
import com.estate.bean.Repair;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface ComplaintService extends IService<Complaint> {

    JsonResult listByPage(int page, int size);

    JsonResult saveComplaint(Complaint complaint);

    JsonResult deleteComplaint(String complaintId);

    JsonResult updateComplaint(Complaint complaint);
}
